import java.util.ArrayList;
public class DFANode extends Node{
	/**
	 * 
	 */
	private static final long serialVersionUID = 3293388780394675674L;
	public boolean marked;
	public ArrayList<Node> NFAnodes;
	public boolean visited; //Used for BFS
	
	public DFANode(String name){
		this(null, name);
	}
	
	public DFANode(ArrayList<Node> NFAnodes, String name){
		super(name);
		this.NFAnodes = NFAnodes;
		visited = false;
		//this.name = name;
	}
	
	public DFANode(ArrayList<Node> NFAnodes){
		this(NFAnodes, NFAnodes.toString());
	}
	
	@Override
	public boolean equals(Object o){
		return o instanceof DFANode && ((DFANode)o).name.equals(name);
	}
}
